const router = require('koa-router')()
const homeControl = require('../controller/home')

router.prefix('/api')

router.post('/upload', homeControl.upload)

router.post('/login', homeControl.login)

router.get('/userInfo', homeControl.userInfo)

router.post('/actionUpload', homeControl.actionUpload)

module.exports = router;